import styled from 'styled-components'

const MainBodyConatiner = styled.div `
    flex:1;
    overflow:scroll;
    .title{
        padding:0.24rem 0.16rem 0.16rem;
        font-size: 0.22rem;
        line-height: 0.33rem;
    }
    .aside{
        padding-top:20px;
        display:flex;
        flex-direction:row;
        i{
            display:block;
            height:0.4rem;
            width:0.4rem;
            img{
                height:100%;
                width:100%;
            }
            margin-right: 0.07rem;
            margin-left: 0.16rem;
        }
        .new_con{
            flex:1;
            h5{
                font-size: 0.15rem;
                line-height: 0.2rem;
                color: #303132;
            }
            p{
                span{
                    font-size: 0.12rem;
                    line-height: 0.13rem;
                    font-weight: 500;
                    color: #aaaeb3;
                }
            }

        }
        .subscibe{
            margin-right: .16rem;
            width: .64rem;
            height: .3rem;
            line-height: .3rem;
            border-radius:0.04rem;
            font-size: .13rem;
            text-align: center;
            background: #1985ff;
            color:#fff;
            font-weight:500;
        }
    }
    .article{
        padding-top: 0.21rem;
        padding-right: 0.16rem;
        padding-bottom: 0.08rem;
        padding-left: 0.16rem;
        font-size: 0.16rem;
        line-height: 0.3rem;
        min-height: 0.3rem;
        p{
            line-height: 0.28rem;
            img{
                width:100%;
                margin-top: 0.15rem;
                margin-bottom: 0.15rem;
            }
        }
        a{
            img{
                width:100%;
                margin-top: 0.15rem;
                margin-bottom: 0.15rem;
            }
        }
        img{
                width:100%;
                margin-top: 0.15rem;
                margin-bottom: 0.15rem;
            }
    }
    .introduce{
        height:0.69rem;
        background:#f7f9fa;
        display:flex;
        align-items:center;
        justify-content:center;
        position:relative;
        /* padding: 0 0.2rem; */
        margin:0.1rem 0.16rem;
        img{
            position:absolute;
            top:0.18rem;
            left:0.15rem;
        }
        h1{
            padding-right:0.4rem;
            padding-left: 0.4rem;
            line-height: 0.3rem !important;
            font-size: 0.16rem !important;
        }
    }
`

const HeadName =styled.div`
    width:100%;
    .titName{
        position:relative;
        left:calc((100% - 86px)/2);
    }
`

export {
    MainBodyConatiner,
    HeadName
}